setlocal

call common_srs.bat

set "PLUGIN_DIR=..\src\scripting"
set "PLUGIN_NAME=srs.main"
set "RELEASE_NAME=srsmod"
"%SPCOMP%" -i"%LEFT4DOWNTOWN_SRC%\scripting" -D%PLUGIN_DIR% "%PLUGIN_NAME%.sp"
move /Y "%PLUGIN_DIR%\%PLUGIN_NAME%.smx" "%PLUGIN_DIR%\%RELEASE_NAME%.smx" 

echo.--------------------------------------------
echo Built %PLUGIN_NAME%.sp as %RELEASE_NAME%.smx
echo.--------------------------------------------

endlocal
rem pause